package com.greate.community.entity.dto;

import lombok.Data;
import org.springframework.web.bind.annotation.RequestBody;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author xzx
 * @date 2022/3/11 18:10
 */
@Data
public class PasswordDTO {
    @NotBlank(message = "请输入原密码")
    private String oldPassword;

    @NotBlank(message = "新密码不能为空")
    private String newPassword;
}
